home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
qbbs
/
nwen41.zip
/
NEWS.NEW
< prev
Wrap
Text File
|
1991-05-28
|
9KB
|
215 lines
-=( News New )=-
Version 4.1
* Well, since I was working on a new RADoor version (the toolbox used
for all my doors, I decided to update News before releasing.. Makes
a lot of version unknown to humanity, but alas...)
Due to a request I also added a new parameter -SkipOld. If you use
it and there are no new bulletins, the door drops to the BBS
without asking or showing anything (other than a msg..;)
I also noted that the -Force:<MaxMsg> wasn't implemented.. (Strange..)
Anyhow, it is now..;)
* For the other new features, play with the F9 keys.. the sysop has some
more controle in this version...
Remark: Note that the -FORCE parameter overrules the -ASK if there are
new bulletins. NEWS only askes if there are old bulletins and
you use the ASK and FORCE together..
Version 4.0
* Ok, at least.. My primary beta tester for this door (and the one who asked
me for the new features... Thanks Hans!) said it worked.. At least...
So this is going to be the release version!
Version 3.6
* I found the bug mentioned under Version 3.4/3.5 and solved it
* The msgbase handling is completely rewritten and is more solid now.
It also uses the RA 1.01 locking scheme (altough News doesn't write
a thing to the msgs files, only the Lastread is rewritten..)
Version 3.4 & 3.5
* These were both internal debugging versions.. Due to a major bug
I couldn't find...
Version 3.3
* Forgot about those poor new users.. Concider the following story...
I'm a use who call's first time to a BBS. The sysop over there is
using NEWS (great guy!) to show his bulletins to the users..but
hardly cleans up his news area.. so there are some 50 bulletins posted.
Also, as he knows his users, he uses the FORCE parameter so they never
have the 'sorry, didn't know that...' excuse.. BUT this poor user
has to work through ALL the 50 bulletins since his lastread pointer
is 0..... poor guy probably hangs up after 3/4 bulletins..
So I added a parameter to the FORCE option. If you use this option
as:
-FORCE
Well. They new user realy has to read ALL the new bulletins.. But if
you use:
-FORCE:3
Only the first 3 bulletins shown are forced, after that he get's the
[S]top option to bail out.. EVEN if there are more new bulletins.
The max-value may range from 1 to 1000 (0 is illegal since it means that
the parameter isn't found.. , 1000 is the maximal number of available
bulletins possible in a single area, it's the MAX of the internal Index...
* Also spotted a little error which caused the errormsg for an out of
range areanr not to be shown to the user..
Version 3.2
* Version 3.1 ALMOST worked.. BUT due to a "Feature" of RAMsg it only found
bulletins which had been maintained by RAMsg.. The stupid thing converts
the contents of the MsgToIdx filerecord to ALL lowercase, while RA
puts it there in the normal RA way, first character of each word
uppercase..... Realy a difficult one to find..;(
Version 3.1
Made some stuppid mistakes. Lucily version 3.0 only went out to two people,
(Sorry folks..)
* The Toggles -ASK and -FORCE work as the should now.. (No :ON requiered
anymore)
* the lastread.bbs isn't rewritten anymore. I accidently used rewrite instead
of reset and WriteOnly+ShareDenyNone instead of ReadWrite+ShareDenyNone,
So the lastread resulted in a 0bytes file which was rebuild by RA.
* This also lead me to an other error in my msgbase handling routines..
(also solved..;-)
* The number of new bulletins is counted and shown to the user.
Version 3.0
* This is a major rewrite. Some users asked me for a way to tell the users
if there are NEW bulletins. Something like the NewMail scan. Well, I
implemented that feature in this version. In a way...
The scanning is done different now. In former version the MsgIdx.bbs
was read reverce. This was the simplest way, but VERY slow.. (I measured
up to 4 times as slow as a forward scan!)
What news does now is:
- Look in the msginfo.bbs IF there are messages in the area.
- Read the lastread record of the user.
- Build an internal Index using a big buffer for speed.
- Checks if the highest bulletin has a higher number than the
LastRead pointer for the used area.
This way of working has a lot of advantages. Speed, it's much faster..
(+/- 4 times faster...) And after the scan (which HAS to be done, it's the
only way to get information about NEW bulletins) all the bulletin message
numbers are available. So it's a one-time scan.
If you use the -ASK parameter, news tells the user if there are new
bulletins and asks if (s)he wants to read them. The default answer is
Yes when there are new bulletins and No if there are only oldies.
If you don't use the -ASK the user just gets the first (newest) bulletin
and can bail-out then.
After reading the bulletins the lastread pointer is updated.
The new -FORCE parameter forces the user to read ALL the new bulletins.
No way to bail out (except for hanging the phone..;) Not that if you use
the -ASK and the -FORCE parameter, the user is asked if he wants to read
the new bulletins (and if he doesn't he gets the same choice until he does!)
but if he answers Yes, he has to read ALL the new bulletins.
* Added UserOn support. (Useron is an other door utility which enables users
to see what ppl on other nodes are doing. It also features a message to the
other line option with up to 20 lines. No real chatdoor, but a good
alternative to the usual MsgToOtherLine option....You can find it in
SDS as UserOn??.ZIP (current version 2.2)
* Updated the documentation and removed some mistakes..
* Changed the defaultname from NEWS to ALL as it seems the last one is
used most.
* Solved a bug in the -U: parameter which cleared the field when this
parameter wasn't used.
* Added a *NEW* indicator in the header part to show if the user already
read the bulletin..
Version 2.0
* Added an HighAscii filter for ASCII users. 'ê' is translated into 'e' and
such..
* Added AVATAR support
* Added an optional -P:*P commandport override toggle at the commandline.
* ALL the commandline toggle now have an indentifier:
-T:<remaining time> (*T)
-P:<Use commport> (*P)
-N:<Node> (*N)
-U:<UserName> (Use underscore for spaces!)
-AREA:<UseAreaNr> (1..200)
-F:<Flags> (NY,YY,N?,Y?)
* This news also contains my new improved internal screen-driver which
support ANSI/AVATAR and even ANSI-music.. (Put a tune in the message of
the day..;-)
* All the files are now opened READ-ONLY/SHARE DENY NONE, which means that
not only things will work ok under Share control on a multiline setup now
(Which it didn't.. sorry..) But also that network users should have to
load Share if the network software controls these things itself.
* Added an use share override environment variable USESHARE. If you add
USESHARE=OFF to your environment, none of my doors will complain about
share missing anymore. They will no longer apply recordlocking, but will
depend completely on the filemode bits..
- USE THIS AT YOUR OWN RISK!! -
==============================================================================
Version 1.3 (1.2 was also kept internal, due to lack of time.. ;)
* Blush.. Ashamed to say it, but a bug of enormous stupidity has been
solved.... I (Blush) used the Multiline toggle in the CONFIG.RA file
to see from where I had to read the.. (low voice) config.ra...
As the record structure was cleared before, this couldn't work
ok in a multiline setup under f.e. Desqview.. (On lan's the config.ra
is always (I guess) in the directory where the RA env. var is pointing..)
Sorry to all the ppl who had strange problems with my doors under DV.
(Altough only 1 persone complained and went through enourmous efforts to
help me to find out what was wrong.. Thanks Jos!)
==============================================================================
Version 1.2 (1.1 was an internal beta copy)
* Added a flag to make it possible for News to mimic the look of the
newmail scan.
* Added an other flag to hide the LiveSystems header line while searching
for the first bulletin.
* Tag and originlines are filtered out. This makes it possible to create a
News echomail area..;-) (and it looks better too)